package com.wo.cloud.tenant.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wo.cloud.tenant.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/4/11 21:52
 * Description:
 */

@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    /**
     * 自定义SQL：默认也会增加多租户条件
     * 参考打印的SQL
     *
     * @return
     */
    Integer myCount();

}
